package com;

/**
 * Created by webrx on 2017-08-25.
 */
public class User {
    public static void main(String[] args) {


        //类Stu和类User是为了讲解泛型是怎么应用的
        //两种不同个的类型打出的结果
        Stu<Integer> stu=new Stu<Integer>(18);
        stu.info();
        //java.lang.Integer


        //java.lang.String
        Stu<String> stu1=new Stu<String>("jiji");
        stu1.info();
    }
}
